package com.bazaaroid.server.gae.core.persistence.model.partner;

import javax.jdo.annotations.EmbeddedOnly;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;

import com.google.appengine.api.datastore.Email;
import com.google.appengine.api.datastore.Link;
import com.google.appengine.api.datastore.PhoneNumber;

@PersistenceCapable(detachable = "true")
@EmbeddedOnly
public class Contact {

	@Persistent
	private PhoneNumber telephone;
	@Persistent
	private PhoneNumber mobile;
	@Persistent
	private String fax;
	@Persistent
	private Email email;
	@Persistent
	private Link site;

	public PhoneNumber getTelephone() {
		return telephone;
	}

	public void setTelephone(PhoneNumber telephone) {
		this.telephone = telephone;
	}

	public PhoneNumber getMobile() {
		return mobile;
	}

	public void setMobile(PhoneNumber mobile) {
		this.mobile = mobile;
	}

	public String getFax() {
		return fax;
	}

	public void setFax(String fax) {
		this.fax = fax;
	}

	public Email getEmail() {
		return email;
	}

	public void setEmail(Email email) {
		this.email = email;
	}

	public Link getSite() {
		return site;
	}

	public void setSite(Link site) {
		this.site = site;
	}

}
